package com.jie.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jie.entity.ArticleFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jie
 * @since 2024-05-29
 */
@Mapper
public interface ArticleFileMapper extends BaseMapper<ArticleFile> {

    /**
     * 批量插入
     * @param articleId
     * @param fileIds
     */
    void saveBatchFileResource(@Param("articleId")Integer articleId, List<Integer> fileIds);
}
